package com.git.bds.mr.hospital.service.hospital;

import com.git.bds.mr.doctor.model.dto.DoctorInfoDTO;
import com.git.bds.mr.hospital.model.domain.Hospital;
import com.git.bds.mr.hospital.model.vo.HospitalDoctorVO;
import com.git.bds.mr.page.PageParam;
import com.git.bds.mr.page.PageResult;
import com.github.yulichang.base.MPJBaseService;

/**
 * <p>
 * 医院信息表 服务类
 * </p>
 *
 * @author 成大事
 * @since 2022-09-19 16:42:52
 */
public interface HospitalService extends MPJBaseService<Hospital> {


    /**
     * 添加医生
     *
     * @param doctorInfoDTO 医生信息dto
     * @return {@link Boolean}
     */
    Boolean addDoctor(DoctorInfoDTO doctorInfoDTO);

    /**
     * 修改医生
     *
     * @param doctorInfoDTO 医生信息dto
     * @return {@link Boolean}
     */
    Boolean modifyDoctor(DoctorInfoDTO doctorInfoDTO);

    /**
     * 请所有医生
     *
     * @return {@link PageResult}<{@link HospitalDoctorVO}>
     */
    PageResult<HospitalDoctorVO> getAllDoctors(PageParam pageParam);
}
